tranx86 – an Optimising ETC to IA32 Translator
نویسندگان
چکیده
Frederick R.M. Barnes Computing Laboratory, University of Kent, Canterbury, KENT. CT2 7NF ([email protected]) Abstract. This paper describes tranx86, a program which converts Extended Transputer Code (ETC) from a modified Inmos occam compiler, into IA32 code for execution on the Intel i386 family of processors within the KRoC/Linux system. Several optimisations are employed in an attempt to maximise performance on this family of processors, including optimisations in the CCSP run-time kernel. These include a graph-colouring type register allocation scheme and various inlining of code. While tranx86 is mostly architecture dependent, effort has been made to allow the use of arbitrary schedulers, although currently CCSP is the only fully supported one. Various benchmark programs are used to compare the performance of this translator with the old system, giving significant time wins in some cases. For the ommstime benchmark program on an 800 MHz Pentium-3, the old KRoC/Linux system gave 233 ns per communication (2 context switches); the new one, with optimisations and inlining, gives 67 ns per communication – more than a 3-fold reduction in overheads.
منابع مشابه
Echo Technology (ET) for Memory Constrained CISC Processors
Code density is an important issue in memory constrained processors. Echo Technology (ET) can be employed to replace a repeating code sequence with a single ECHO instruction. Its usefulness for code size reduction has been demonstrated on JAVA bytecode and RISC binaries. In this paper, we evaluate its effectiveness for IA32 binaries. Common perception assumes that IA32 code is already relativel...
متن کاملSecond Year Progress Report Language Interoperability and Logic Programming Languages
The LLP/Prolog to Java translator Prolog Café was altered to produce C# instead. New built-in predicates were added to enable the user to exploit the concurrency support in C# from the Prolog side. I now intend to work on optimising the translated code by detecting common programming idioms and by allowing the programmer to add mode annotations to their code. I also intend to add a module syste...
متن کاملMobile Visual Text Translator
An Android mobile visual text translator is proposed and developed. The translator is able to extract text from images and perform in situ translation. Our app can automatically recognize texts in simple plain images such as book, sign, and map and overlays the translated text on top of the original one, while preserving information such as location, color, font size, etc. This is often needed ...
متن کاملTranslator Education in the Light of Complexity Theory: A Case of Iran’s Higher Education System
In the fast-growing world of translation studies, many students may not receive adequate training at universities. A new multi-facetted approach is therefore needed to be applied in translator educational programs to meet the students’ needs and professional expectations. In order to describe the complex interrelations in translator education systems and propose a research framework that takes ...
متن کاملCritique of Research Book (Literature)/ Which Hafiz? An Overview of Hafiz and Russian Poets: Alireza Anoshirvani
Abstract One of the broad areas of research in traditional comparative literature is the study of the influence of one poet on another in a different culture. Almost all literary influences occur through translation. The translator is a mediator between the two poets, and any study of literary influences in the realm of comparative literature would be irrelevant if the role of the translator a...
متن کامل